<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
  <style>
    body {
      font-size: 12px;
    }

    h1 {
      font-size: 26px;
    }

    h2 {
      font-size: 18px;
    }

    @media (min-width: 480px) {
      body {
        font-size: 16px;
      }

      h1 {
        font-size: 32px;
      }

      h2 {
        font-size: 24px;
      }
    }
  </style>
</head>
<body>

</body>
</html>
